package com.example.kugou.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 *     VIP
 */
@ApiModel("Vip实体")
public class Vip {
    /**
     * Vip
     */
    @ApiModelProperty("Vip")
    private Integer vipid;
    /**id
     * 对应个人信息表
     */
    @ApiModelProperty("对应个人信息id")
    private Integer pid;
    /**
     * 开通时间
     */
    @ApiModelProperty("开通时间")
    private String starttime;
    /**
     * 到期时间
     */
    @ApiModelProperty("到期时间")
    private String endtime;

    private List<Personal_data> personal_data;

    public List<Personal_data> getPersonal_data() {
        return personal_data;
    }

    public void setPersonal_data(List<Personal_data> personal_data) {
        this.personal_data = personal_data;
    }

    public Vip(Integer vipid, Integer pid, String starttime, String endtime) {
        this.vipid = vipid;
        this.pid = pid;
        this.starttime = starttime;
        this.endtime = endtime;
    }

    public Vip() {
    }

    public Integer getVipid() {
        return vipid;
    }

    public void setVipid(Integer vipid) {
        this.vipid = vipid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    @Override
    public String toString() {
        return "Vip{" +
                "vipid=" + vipid +
                ", pid=" + pid +
                ", starttime='" + starttime + '\'' +
                ", endtime='" + endtime + '\'' +
                '}';
    }
}
